"""
@author:menglei
@desc:查询商品标签列表
"""
from pdd.api.base import RestApi


class PddGoodsOptGetRequest(RestApi):
    """
    @:param: parent_opt_id:INTEGER:值=0时为顶点opt_id,通过树顶级节点获取opt树
    """
    def __init__(self,domain='https://gw-api.pinduoduo.com'):
        RestApi.__init__(self, domain)
        self.parent_opt_id = None

    def getapiname(self):
        return 'pdd.goods.opt.get'